package theFirstProject.package1;


import theFirstProject.interface1.AllService;

import java.io.Serializable;

public
class NetPackage extends SericePackage implements AllService, Serializable {
    public static double money=68;
     int talkTime=0;
     int smsCount=0;
    int flow=5120;

    public NetPackage(){
        super(68,0,0,5120);
    }

    @Override
    public
    void call() {

    }

    @Override
    public
    void net() {

    }

    @Override
    public
    void send() {

    }
    public String toString() {
       return "网虫套餐：通话时长为"+talkTime+"分钟/月，短信条数为"+smsCount+"条/月，上网流量为"+flow+"MB/月，月费为"+money+"元/月";
    }

}
